import 'package:flutterproject/generated/json/base/json_field.dart';
import 'package:flutterproject/generated/json/assets_detail_bean.g.dart';
import 'dart:convert';

@JsonSerializable()
class AssetsDetailBean {

	int? amount;
	double? balance;
	String? enableRecharge;
	String? enableSwap;
	String? enableTransfer;
	String? enableWithdraw;
	double? frozen;
	int? id;
	List<AssetsDetailList>? list;
	int? price;
	String? title;
	int? type;
	bool? transferLimit;
  
  AssetsDetailBean();

  factory AssetsDetailBean.fromJson(Map<String, dynamic> json) => $AssetsDetailBeanFromJson(json);

  Map<String, dynamic> toJson() => $AssetsDetailBeanToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

@JsonSerializable()
class AssetsDetailList {

	int? createTime;
	double? opAfter;
	String? opRemark;
	int? opType;
	double? opValue;
  
  AssetsDetailList();

  factory AssetsDetailList.fromJson(Map<String, dynamic> json) => $AssetsDetailListFromJson(json);

  Map<String, dynamic> toJson() => $AssetsDetailListToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}